package com.snowfeel.sfmall.sys.convert;

import com.snowfeel.sfmall.sys.dto.SysDictTypeParam;
import com.snowfeel.sfmall.sys.model.SysDictType;
import com.snowfeel.sfmall.sys.vo.SysDictItemVo;
import com.snowfeel.sfmall.sys.vo.SysDictTypeVo;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author guomenghuai
 * @date 2024/9/7
 * @Description
 */
@Mapper(componentModel = "spring")
public interface SysDictTypeConvert {

    SysDictType convertPo(SysDictTypeParam dictTypeParam);

    SysDictTypeVo convertVo(SysDictType dictType);

    List<SysDictTypeVo> convertVoList(List<SysDictType> dictTypeList);
}
